:root[theme-mode='dark'] {
  .md-editor-dark {
    --md-bk-color: var(--td-bg-color-page) !important;

  }
}

:root,
:root[theme-mode="light"] {
  .md-editor {}
}